// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   SectorialesAction.java

package org.fiel.struts.actions;

import javax.servlet.http.*;
import org.apache.struts.action.*;
import org.fiel.helpers.Enums;

// Referenced classes of package org.fiel.struts.actions:
//            ListaSubtiposAction, FielAction

public class SectorialesAction extends ListaSubtiposAction
{

    public SectorialesAction()
    {
    }

    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
        throws Exception
    {
        String rol = obtenerRol(request);
        if(rol.indexOf("4") != -1)
        {
            java.util.List subtipos = ObtenerSubtipos(Enums.TIPO_SECTORIALES);
            java.util.List informacion = ObtenerInformacionSubtipos(subtipos, rol);
            if(informacion != null)
                request.getSession().setAttribute("sectoriales", informacion);
        }
        return mapping.findForward("listarSectoriales");
    }
}
